import Vue from 'vue';
import Router from 'vue-router';
import index from '@/components/index/index';
import bind from '@/components/info/bind';
import info from '@/components/info/info';
import WechatLogin from '@/components/login/WechatLogin';

Vue.use(Router);
export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/index',
      name: 'index',
      component: index
    },
    {
      path: '/info',
      name: 'info',
      component: info
    },
    {
      path: '/bind',
      name: 'bind',
      component: bind
    }
  ]
});
